<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>我的团购 | 聚点团购</title>
<jsp:include page="home/style.jsp" />
<jsp:include page="home/vForm.jsp" />
</head>
<body>
<div class="topbg"></div>
<div class="container">
	<s:include value="/page/home/top.jsp" />
    <div class="main">
    	<s:include value="/page/home/left.jsp" />
        <div class="content">
        	<div class="tab_menu">
                <ul class="tabs">
                    <li>
                        <a href="<s:url value='/console/my/orders'/>">我的订单</a>
                        <span></span>
                    </li>
                    <li>
                        <a href="<s:url value='/console/my/tickets'/>">我的聚团券</a>
                        <span></span>
                    </li>
                    <li>
                        <a href="<s:url value='/console/my/setting'/>">我的积分</a>
                        <span></span>
                    </li>
                    <li class="current">
                        <a href="<s:url value='/console/my/setting'/>">账户设置</a>
                        <span></span>
                    </li>
                </ul>
                <div class="clear"></div> 
            </div>
        	<div class="today_tuan">
            	<div class="cont_top"></div>
                <div class="cont_body">
                	<div class="tab_content" id="tab4">
                    	<div class="regist_tit">
                        	<span class="fleft">帐户设置</span>
                            <div class="clear"></div>
                        </div>
                        <form action="<s:url value="/user/customer/%{user.id}"/>" method="post" id="setting" onsubmit="return vform(this)">
							<input type="hidden" name="_method" value="PUT"/>
                        	<p class="fosize16 bold">1、基本信息</p>
                        	<div class="formlist clear">
                            	<label><span class="list_tit">Email</span><s:textfield name="%{'user.email'}" cssClass="ipt w290 greybg" id="email" readonly="true"/></label>
                            </div>
                            <div class="formlist clear">
                            	<label><span class="list_tit">用户名</span><s:textfield name="%{'user.username'}" cssClass="ipt w290" id="username"/></label>
                            </div>
                            <div class="formlist clear">
                            	<label><span class="list_tit">新密码</span><s:password id="password"  name="password" cssClass="ipt w290"/></label>
                                <p class="regist_tip">如果不想修改密码，请保持空白</p>
                            </div>
                            <div class="formlist clear">
                            	<label><span class="list_tit">确认新密码</span><s:password id="passwordAgain"  name="passwordAgain" cssClass="ipt w290"/></label>
                            </div>
                            <div class="formlist clear">
                            	<label><span class="list_tit">手机号</span><s:textfield name="%{'user.phone'}" cssClass="ipt w290" id="phone"/></label>
                                <p class="regist_tip">聚团券密码将通过短信发到手机上</p>
                            </div>
                            <input type="submit" class="regist_btn" value="更 改" />
                        </form>
                </div>
                <div class="cont_down2"></div>
            </div>
            
            <div class="today_tuan">
                <jsp:include page="home/footer.jsp" />
            </div>
        </div>
    </div>
</div>
</div>
<script type="text/javascript">init();</script>
</body>
</html>
